home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / glibmm-2.4 / glibmm / exceptionhandler.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-04-20  |  1.3 KB  |  46 lines

  1. // -*- c++ -*-
  2. #ifndef _GLIBMM_EXCEPTIONHANDLER_H
  3. #define _GLIBMM_EXCEPTIONHANDLER_H
  4.  
  5. /* $Id: exceptionhandler.h,v 1.2 2004/02/10 14:26:04 murrayc Exp $ */
  6.  
  7. /* exceptionhandler.h
  8.  *
  9.  * Copyright 2002 The gtkmm Development Team
  10.  *
  11.  * This library is free software; you can redistribute it and/or
  12.  * modify it under the terms of the GNU Library General Public
  13.  * License as published by the Free Software Foundation; either
  14.  * version 2 of the License, or (at your option) any later version.
  15.  *
  16.  * This library is distributed in the hope that it will be useful,
  17.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  19.  * Library General Public License for more details.
  20.  *
  21.  * You should have received a copy of the GNU Library General Public
  22.  * License along with this library; if not, write to the Free
  23.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  24.  */
  25.  
  26. #include <sigc++/sigc++.h>
  27.  
  28.  
  29. namespace Glib
  30. {
  31.  
  32. /** Specify a slot to be called when an exception is thrown by a signal handler.
  33.  */
  34. sigc::connection add_exception_handler(const sigc::slot<void>& slot);
  35.  
  36. #ifndef DOXYGEN_SHOULD_SKIP_THIS
  37. // internal
  38. void exception_handlers_invoke() throw();
  39. #endif
  40.  
  41. } // namespace Glib
  42.  
  43.  
  44. #endif /* _GLIBMM_EXCEPTIONHANDLER_H */
  45.  
  46.